package com.txzt.gaea.upgrade.project.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.UpdateIgnore;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProjectProgressVo implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;

    private String planNo;

    private String projectName;

    private String planType;

    private Long departId;

    private BigDecimal budgetFund;

    private Long projectLeader;

    private Integer startYear;

    private Integer endYear;

    private Integer workNum;

    /** 负责人名 */
    private String projectLeaderName;
    /** 承担部门名 */
    private String departName;


    /**
     * 项目id
     */
    private Long projectId;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
    /**
     * 工作计划说明
     */
    private String planStatement;
    /**
     * 执行人
     */
    private String executor;
    /**
     * 完成人
     */
    private Long finishBy;
    /**
     * 完成时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date finishTime;
    /**
     * 完成时效
     */
    private String finishLimitation;
    /**
     * 工作完成情况
     */
    private String workCompletion;
    /**
     * 附件
     */
    private String attachment;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    private Long createBy;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新人
     */
    private Long updateBy;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 删除标志
     */
    private Integer isDelete;
}